﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucOnlineContact.ascx.cs"
    Inherits="LongSpeed.WebSite.UserControl.ucOnlineContact" %>
<%@ OutputCache Duration="420" VaryByParam="none" Shared="true" %>
<div class="sblock1">
    <div class="sblock1-top">
        在线联系客服</div>
    <div class="sblock1-bottom">
        <ul class="notice">
            <%
                LongSpeed.WebSite.Behaviors.User u = new LongSpeed.WebSite.Behaviors.User();
                var users = u.GetUsersByUserIdentity(LongSpeed.WebSite.Behaviors.UserIdentity.销售员);

                for (int i = 0; i < users.Count; i++)
                {
                    var item = users[i];
                    if (i == users.Count - 1)
                    {
            %>
            <%
                    }
                    else
                    {
            %>
            <%
                    } 
            %>
            <p>
                <span style="color: #FF0000;">客服：<% Response.Write(item.ResponsibleItems); %></span></p>
            <p>
                <span style="color: #FF0000;">电话：<%=(item.Phone) %></span></p>
            <p>
                <a target="_parent" href="http://wpa.qq.com/msgrd?v=3&uin=<%=(item.QQ) %>&site=久速科技&menu=yes">
                    <img style="border: 0px;" src="http://wpa.qq.com/pa?p=2:<%=(item.QQ) %>:10" alt="点击咨询"
                        title="点击咨询" />
                    <%=(item.QQ) %>
                </a>
            </p>
            <%
                }
            %>
        </ul>
    </div>
</div>
